package day_2022_9_to_12.Day;

/**
 * @author haomin
 * @date 2022/11/01 09:58
 **/
public class Day59_1_Num1662_ArrayStringsAreEqual {
    class Solution {
        public boolean arrayStringsAreEqual(String[] word1, String[] word2) {
            String str1 = String.join("", word1);
            String str2 = String.join("", word2);
            return str1.equals(str2);
        }
    }
}